package com.xbongbong.saas.domain.dao;

import com.xbongbong.saas.domain.entity.WorkReportApprovePeopleEntity;
import com.xbongbong.saas.domain.entity.WorkReportCcEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
@Mapper
public interface WorkReportApprovePeopleDao {
    /**
     * 根据参数查询抄送人实体集合
     *
     * @param param 查询条件
     * @return java.util.List<com.xbongbong.saas.domain.entity.WorkReportApprovePeopleEntity>
     * @author
     * @date
     */
    List<WorkReportApprovePeopleEntity> findEntitys(@Param("param") Map<String, Object> param);

    Integer insertBatch(@Param("list")List<WorkReportApprovePeopleEntity> list);
    /**
     * 根据条件查询workreportApprovePeople的数量
     *
     * @param param 参数map
     * @throws
     * @return
     * @author hongxiao
     * @date 2021-01-18 09:20
     * @since
     * @version
     */
    Integer getEntitysCount(@Param("param") Map<String, Object> param);
}
